package com.iscc.fake.dao;

import com.iscc.fake.domain.Product;

import java.sql.Connection;
import java.util.List;
import java.util.Map;

public interface ProductDAO extends BaseDAO{
   int add (Product product);
   int getNewId();
   List<Map<String, Object>> queryAllProduct(String name);
   Product queryByid(int id);
   List<Map<String, Object>> querydetail(String name);
   List<Map<String, Object>> queryform(String name);
}
